<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta name="keywords" content="hexo, autumn" />
    <title>
        iOS开发
    </title>
    <!-- favicon -->
    
    <link rel="icon" href="https://cdn.jsdelivr.net/gh/frontendsophie/hexo-theme-autumn@1.0.0/source/img/favicon.ico" />
     <link rel="stylesheet" href="/blog/css/style.css">

    <!-- highlight -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/highlight.js/9.12.0/styles/github-gist.min.css" />
    <script src="//cdn.bootcss.com/highlight.js/9.2.0/highlight.min.js"></script>
    <script>
        hljs.initHighlightingOnLoad()
    </script>
    <script src="https://cdn.jsdelivr.net/gh/frontendsophie/hexo-infinite-scroll@2.0.0/dist/main.js"></script>

    <script>
        infiniteScroll()

        window.addEventListener('DOMContentLoaded', function () {
            const [
                mainTitle,
                mobileMenu,
                mobileMainTitle,
                mobileMenuBtn,
                ipadMenuBtn,
                aside,
                closeBtn,
            ] = getEle(
                '#main-title',
                '.mobile-menu',
                '.mobile-menu h3',
                '.mobile-menu button',
                '.ipad-menu',
                'aside',
                'aside .close',
            )
            const io = new IntersectionObserver(entries => {
                if (entries[0].intersectionRatio <= 0) {
                    mobileMainTitle.classList.remove('invisibile')
                } else {
                    mobileMainTitle.classList.add('invisibile')
                }
            })
            io.observe(mainTitle)

            clickToggleAside(mobileMenuBtn)
            clickToggleAside(ipadMenuBtn)
            clickToggleAside(closeBtn, false)

            const isMenuVisible = window.getComputedStyle(mobileMenu).display !== 'none'
            if (isMenuVisible) document.body.style.background = 'none'

            function getEle(...args) {
                return args.map(arg => document.querySelector(arg))
            }

            function clickToggleAside(btn, show = true) {
                btn.addEventListener('click', function () {
                    if (show) {
                        aside.style.display = 'block'
                    } else {
                        aside.style.display = 'none'
                    }
                })
            }
        })
    </script>
</head>

<body style="background: url(https://cdn.jsdelivr.net/gh/frontendsophie/hexo-theme-autumn@1.0.0/source/img/button-bg.png) #f3f3f3">
    <div class="container">
        <header class="header">
    <nav class="mobile-menu" style="background: url(https://cdn.jsdelivr.net/gh/frontendsophie/hexo-theme-autumn@1.0.0/source/img/button-bg.png) #f3f3f3">
        <h3 class="invisibile">
            <a href="/blog/" class="logo">
                iOS开发
            </a>
        </h3>
        <button class="menu">menu</button>
    </nav>

    <button class="ipad-menu menu">menu</button>

    <h1 class="title" id="main-title">
        <a href="/blog/" class="logo">
            iOS开发
        </a>
    </h1>
    <h2 class="desc">
        
    </h2>

    <div class="links">
        <ul>
            
            <li>
                <a href="https://github.com/FrontendSophie" target="_blank" rel="noopener">
                    Github
                </a>
            </li>
            
            <li>
                <a href="https://www.linkedin.com/in/frontendsophie/" target="_blank" rel="noopener">
                    LinkedIn
                </a>
            </li>
            
        </ul>
    </div>
</header>
        <main class="main">
            
<section class="posts">
    
        <article class="post">
            
                    <h1 class="post-title">
                        <a href="/blog/2020/02/28/20200228145301/">
                            在UITableViewCell中使用UIPanGestureRecognizer手势冲突问题解决方法
                        </a>
                    </h1>

                    <ul class="post-date">
                        <li>
                            February 28, 2020
                        </li>
                        <li>
                            selinaSun
                        </li>
                    </ul>
                    
                    <div class="post-content ">
                        
                            <a href="/blog/2020/02/28/20200228145301/" class="more-link">Continue reading</a>
                    </div>
        </article>
        
        <article class="post">
            
                    <h1 class="post-title">
                        <a href="/blog/2020/02/28/20200228142129/">
                            iOS去除storyboard,纯代码开发(含swift)
                        </a>
                    </h1>

                    <ul class="post-date">
                        <li>
                            February 28, 2020
                        </li>
                        <li>
                            selinaSun
                        </li>
                    </ul>
                    
                        <div class="post-cover">
                            <img src="https://gitee.com/selinaSun/blog_Img/raw/master/IMG/20200228142129/637119-ab382a95fb1676ab.jpg">
                        </div>
                    
                    <div class="post-content ">
                        
                            <a href="/blog/2020/02/28/20200228142129/" class="more-link">Continue reading</a>
                    </div>
        </article>
        
        <article class="post">
            
                    <h1 class="post-title">
                        <a href="/blog/2020/02/28/20200228135034/">
                            CocoaPods 的安装流程
                        </a>
                    </h1>

                    <ul class="post-date">
                        <li>
                            February 28, 2020
                        </li>
                        <li>
                            selinaSun
                        </li>
                    </ul>
                    
                    <div class="post-content ">
                        
                            <a href="/blog/2020/02/28/20200228135034/" class="more-link">Continue reading</a>
                    </div>
        </article>
        
        <article class="post">
            
                    <h1 class="post-title">
                        <a href="/blog/2020/02/28/20200228131058/">
                            iOS编码规范
                        </a>
                    </h1>

                    <ul class="post-date">
                        <li>
                            February 28, 2020
                        </li>
                        <li>
                            selinaSun
                        </li>
                    </ul>
                    
                    <div class="post-content ">
                        
                            <a href="/blog/2020/02/28/20200228131058/" class="more-link">Continue reading</a>
                    </div>
        </article>
        
        <article class="post">
            
                    <h1 class="post-title">
                        <a href="/blog/2020/02/27/20200227140421/">
                            IOS开发框架搭建--添加pch预处理文件
                        </a>
                    </h1>

                    <ul class="post-date">
                        <li>
                            February 27, 2020
                        </li>
                        <li>
                            selinaSun
                        </li>
                    </ul>
                    
                        <div class="post-cover">
                            <img src="https://gitee.com/selinaSun/blog_Img/raw/master/IMG/20200227140421/637119-a2a41ed1c02c23db.png">
                        </div>
                    
                    <div class="post-content ">
                        
                            <a href="/blog/2020/02/27/20200227140421/" class="more-link">Continue reading</a>
                    </div>
        </article>
        
</section>

        </main>
        <aside class="aside">
            <div class="close"></div>
            <section class="aside-section">
                
    <h1>Categories</h1>

    

            </section>
            <section class="aside-section">
                
    <h1>Archives</h1>

    <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/blog/archives/2020/">2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/blog/archives/2019/">2019</a></li></ul>


            </section>
            <section class="aside-section tag">
                
    <h1>Tags</h1>

    

            </section>
        </aside>
    </div>
</body>

</html>